﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Form_Maintain.aspx.cs" Inherits="masterdata_Form_Maintain" MasterPageFile="~/MasterPage.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>系列维护</title>

    

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:UpdatePanel ID="UpdatePanel" runat="server">
<ContentTemplate>
    <div>
        <table id="wsd_inputtable"  style=" text-align:center;">
            <tr>
                <td colspan="2" class="tabletitle">
                  <font color="red" size="2"><b>提示:*为必填项</b></font>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                  
                    
                </td>
            </tr>
            
            <tr>
                <td class="tablefield" style="width: 30%">
                    <span class="keyword">*</span>系列代码:
                </td>
                <td>
                    <asp:TextBox ID="txtCode" runat="server" MaxLength="20" CssClass="wsd_input" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="系列代码不能为空！"
                         ControlToValidate="txtCode"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" style="width: 30%">
                    <span class="keyword">*</span>系列名称:
                </td>
                <td nowrap="nowrap">
                    <input id="txtName" type="text" runat="server" maxlength="20" class="wsd_input" /><asp:RequiredFieldValidator
                        ID="RequiredFieldValidator2" runat="server" ErrorMessage=" 系列名称不能为空！"  
                        ControlToValidate="txtName"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" style="width: 30%">
                    <span class="keyword">*</span>制造商:
                </td>
                <td nowrap="nowrap">
                    <asp:DropDownList ID="ddlManu" runat="server" Width="152" AutoPostBack="True" 
                        onselectedindexchanged="ddlManu_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="制造商名称不能为空！"
                          ControlToValidate="ddlManu"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" style="width: 30%">
                    <span class="keyword">*</span>品类名称:
                </td>
                <td nowrap="nowrap">
                    <asp:DropDownList ID="ddlCategroy" runat="server" Width="152">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="品类不能为空！"
                ControlToValidate="ddlCategroy"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" style="width: 30%">
                    <span class="keyword">*</span>品牌名称:
                </td>
                <td nowrap="nowrap">
                    <asp:DropDownList ID="ddlBrand" runat="server" Width="152">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="品牌不能为空！"
                        ControlToValidate="ddlBrand"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tablefield" style="width: 30%">
                    <span class="keyword">*</span>有效:
                </td>
                <td>
                    <asp:CheckBox ID="chkValid" runat="server" Checked="true" />
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td width="100%" class="tabletitle">
                    操作选项
                </td>
            </tr>
            <tr>
                <td class="buttonarea">
                    <asp:Button ID="btnSave" runat="server" class="wsd_button2" Text="提  交" OnClick="btnSave_Click" />&nbsp;&nbsp;
                    <asp:Button ID="btnCancel" runat="server" class="wsd_button2" Text="返  回" CausesValidation="false"
                        OnClick="btnCancel_Click" />
                </td>
            </tr>
        </table>
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>